<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <style>
        .flex-container {
            display: -webkit-flex;
            display: flex;
            width: 100%;
            height: 500px;
            background-color: lightgrey;
        }

        .flex-item1 {
            background-color: cornflowerblue;
            width: 200px;
            height: 200px;
            margin: 10px;
        }
        .flex-item2 {
            background-color: cornflowerblue;
            width: 200px;
            height: 200px;
            margin: 10px;
        }
    </style>
</head>
<body>
<div>
  <h1>
      超级管理员:<h1 class="superName"></h1>
  </h1>
</div>

<div class="flex-container">
    <div class="flex-item1">flex item 1

        <div class="panel-right">
            <h3 class="allMoney"></h3>
            <strong>总估值</strong>

        </div>
    </div>
    <div class="flex-item2">flex item 2
        <div class="panel-right">
            <h3 class="library-sum"></h3>
            <strong>总收入</strong>

        </div>

    </div>


    <div class="flex-item3">flex item 3</div>
</div>



</body>
</html>

<script src="/js/jquery-3.5.1.js"></script>
<script>
    $(document).ready(function() {
        $.post("/super.admin",function (text){
            let sum=JSON.parse(text);
            console.log(sum)
            console.log(sum[0].borinfoSum)
            console.log(sum[0].bookPrice)
            console.log(sum[0].superName)

            $(".superName").html(sum[0].superName);
            $(".allMoney").html(sum[0].borinfoSum);
            $(".library-sum").html(sum[0].bookPrice);

        })

    })
</script>